﻿@using xConnected.Common.ExpertProfile
@using xConnected.Common.Project
<div class="modal hide fade" id="StartDatePositionDialog" style="display: none;" >
    <div class="modal-header">
    </div>
    <div class="modal-body" data-bind="with: workingPositionBuffer">
        <div class="row">
            <div class="control-group span6" data-bind="css: {'error': StartDate.isValid() == false }" >
                <label class="control-label" for="StartDate"><strong>@ProjectRes.StartDate *</strong></label>
                <div class="controls">
                    <input type="text" class="dateField" data-bind="datepicker:  StartDate, datepickerOptions: { minDate: new Date() }" />
                    <span class="help-inline" data-bind="validationMessage: StartDate"></span>
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <a href="#" class="btn btn-small btn-info" data-bind="click: function() { $root.position.okStartDate();}"><strong>@Resources.Ok</strong></a>
            <a href="#" class="btn btn-small" data-bind="click: function() { $root.position.cancelStartDate();}"><strong>@Resources.Cancel</strong></a>
        </div>
    </div>
</div>